﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Gallery.aspx.cs" Inherits="_Gallery"
    MasterPageFile="~/Beamonkey.master" %>

<%@ Register Src="~/Controls/SendToFriend.ascx" TagPrefix="uc" TagName="SendToFriend" %>

<asp:Content ID="HeadContent" ContentPlaceHolderID="head" runat="server">
    <meta name="keywords" content='<%=sKeywords %>' />
    <meta name="description" content='<%=sDescription %>' />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="content">
        <div class="lcol1">
            <div class="title1">
                <h1>
                    <%=FUNC.GetPhrase(13) %>
                </h1>
            </div>
            <div class="imgcontainer">
                <img runat="server" id="imgTitle" /></div>
            <div class="maintext2">
                <asp:DataList runat="server" ID="dlGallery" OnItemDataBound="dlGallery_DataBind">
                    <ItemTemplate>
                        <h1>
                            <%# Eval("Title") %></h1>
                        <asp:HiddenField runat="server" ID="hfGalID" Value='<%# Eval("ID") %>' />
                        <div class="morepicblock" style="margin-left: 80px; margin-bottom: 30px;">
                            <p>
                                <%# Eval("Desc") %>
                            </p>
                            <asp:DataList runat="server" RepeatDirection="Horizontal" ID="rptGalTopImages">
                                <ItemTemplate>
                                    <a href='photos.aspx?gid=<%# Eval("GalleryID") %>&pid=<%# Eval("ID") %>'>
                                        <img id="imgGallery" style="border: 1px solid #88696A;" src='<%=String.Format("../Thumbnails/SquareThumbnail.ashx?img={0}/Gallery/",FUNC.FullAppPath)%><%# Eval("ImagePath") %>&size=64' /></a><br />
                                </ItemTemplate>
                            </asp:DataList>
                            <div class="mainb3">
                                <a href='photos.aspx?gid=<%# Eval("ID") %>'>
                                    <% =FUNC.GetPhrase(16) %></a></div>
                        </div>
                        <div class="clear">
                        </div>
                    </ItemTemplate>
                </asp:DataList>
                <div class="vpage" id="divPager" runat="server">
                </div>
            </div>
        </div>
        <div class="rcol">
            <div class="rmenu1">
                <div class="rmenu2">
                    <a href="gallery.aspx" runat="server" id="lnkGallery">
                        <%=FUNC.GetPhrase(13) %></a> <%--<a href="photos.aspx">
                            <%=FUNC.GetPhrase(14) %></a> --%><a href="VideoArchive.aspx">
                                <%=FUNC.GetPhrase(15)%></a></div>
            </div>
            <uc:SendToFriend runat="server" ID="sendto" />
        </div>
</asp:Content>
